
$.ajax({
    url:url +"/userInfo/selectUserInfo",
    type:"post",
    dataType: "json",
    success:function (data) {
        console.log(data)
        if(null == data.data.headPortrait){
            $("#head_pic").attr("src","../img/t.png")
        }else{
            $("#head_pic").attr("src","http://qlhc5wmuf.hn-bkt.clouddn.com" +data.data.headPortrait)
        }
    }
})

$.ajax({
    url:url +"/userInfo/phone",
    type:"post",
    dataType: "json",
    success:function (data) {
        $("#phone").text(data.data).css("color","#409eff")
    }
})